<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAkbusIncomeCashTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('akbus_income_cash', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->date('date')->nullable()->comment('时间');
            $table->string('license_plate_num')->nullable()->comment('车牌号');
            $table->decimal('cash_income', 10, 2)->nullable()->comment('现金收入');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('akbus_income_cash');
    }
}
